
// 用 require 函数导入模块
// 如果导入的模块是 node.js 内置模块，则在参数中仅指定模块名称即可
const path = require('path');
// 若导入的模块是自定义模块，则需要显式指定模块路径和名称
const first = require('./first.js');
const second = require('./second.js');
const third = require('./third.js');

console.log( path.join );

console.log( first );
console.log( first.name );
console.log( first.version );
console.log( first.description );

console.log( second );

console.log( third );
third.show();